@import url("./variable.css");

body{
  margin: 0;
  color: var(--base-font-color);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  background-image: var(--body-bg-img);
  background-repeat: var(--background-repeat);
  background-color: var(--body-bg-color);
  background-attachment: var(--background-attachment);
  background-size: cover;
}
.main{
  min-height: calc(100vh - 164px);
}
ul,ol,dd{margin: 0;padding: 0;}
dl, ol, ul, p {
    margin:0 0 1rem 0;
    list-style-position: inside;
    line-height: 1.6;
}
a{
  color: var(--base-font-color);
  text-decoration: none;
  cursor: pointer;
  }
a:hover{color: color(var(--color-primary) shade(10%));}
h1,h2,h3,h4,h5{margin: 0 0 1rem 0;}
img {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    -ms-interpolation-mode: bicubic;
    border-style: none;
}
.row{
  max-width: 1044px;
}
.text-right{text-align: right;}
.text-center{
  text-align: center;
}
.no-border{
  border:none !important;
}
/*logo*/
.logo a{
  position: relative;
  z-index: 1000;
  background: var(--t-logo);
  background-size: contain;
  padding-left: 38px;
  height: 50px;
  background-size: 28px;
  display: block;
  & span{
    display: block;
    height: 100%;
    background: url(../img/logo-text2.png) no-repeat 0 center;
    background-size: 80px;
  }
}
@media only screen and (max-width:768px ) {
	.logo a{
	  background-size: 24px;
	  height: 46px;
	  padding-left: 36px;
	  & span{
	    background-size: 80px;
	  }
	}
}
.menu {
    margin: 0;
    list-style-type: none;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    & li {
      flex: 0 0 auto;
      & a {
        display: flex;
        flex-flow: row;
        padding: .8rem 1rem;
        line-height: 1;
      }
    }
}
.menu.vertical {
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    & li {
      width: 100%;
      display: block;
    }
}
.vertical.el-popover{
  min-width: 80px;
  padding: 0;
}
.vertical-menu{
  padding: 6px 0;
  margin: 0;
  & li{
    list-style: none;
    line-height: 24px;
    padding: 0 10px;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    &.divided{
      position: relative;
      margin-top: 6px;
      border-top: 1px solid rgb(209, 217, 229);
    }
    &:not(.disabled):hover{
       background-color: rgb(228, 231, 241);
       color: rgb(72, 85, 106);
    }
    & a i {
      margin-right: 4px;
    }
  }
  &.icon li{
    padding-left: 26px;
    position: relative;
    & i:first-child{
      position: absolute;
      left:6px;
      top: 5px;
    }
  }
}
/* 边距.上下左右默认全局.无边距:no-margin,no-padding */
.no-margin {
  margin: 0px !important;
}
.margin-t {
  margin-top: var(--outer-margin) !important;
}
.margin-r {
  margin-right: var(--outer-margin) !important;
}
.margin-b {
  margin-bottom: var(--outer-margin) !important;
}
.margin-l {
  margin-left: var(--outer-margin) !important;
}
.margin-l4 {
  margin-left: 4px !important;
}
.margin-t4 {
  margin-top: 4px !important;
}
.margin-b4 {
  margin-bottom: 4px !important;
}
.margin-r4 {
  margin-right: 4px !important;
}
.margin-l6 {
  margin-left: 6px !important;
}
.margin-t6 {
  margin-top: 6px !important;
}
.margin-b6 {
  margin-bottom: 6px !important;
}
.margin-r6 {
  margin-right: 6px !important;
}
.margin-l10 {
  margin-left: 10px !important;
}
.margin-t10 {
  margin-top: 10px !important;
}
.margin-b10 {
  margin-bottom: 10px !important;
}
.margin-r10 {
  margin-right: 10px !important;
}
.margin-l0 {
  margin-left: 0px !important;
}
.margin-t0 {
  margin-top: 0px !important;
}
.margin-b0 {
  margin-bottom: 0px !important;
}
.margin-r0 {
  margin-right: 0px !important;
}

.no-padding {
  padding: 0px !important;
}
.padding-t {
  padding-top: var(--inner-padding) !important;
}
.padding-r {
  padding-right: var(--inner-padding) !important;
}
.padding-b {
  padding-bottom: var(--inner-padding) !important;
}
.padding-l {
  padding-left: var(--inner-padding) !important;
}
.padding-l10 {
  padding-left: 10px !important;
}
.padding-t10 {
  padding-top: 10px !important;
}
.padding-b10 {
  padding-bottom: 10px !important;
}
.padding-r10 {
  padding-right: 10px !important;
}
.padding-l6{
  padding-left: 6px !important;
}
.padding-t6{
  padding-top: 6px !important;
}
.padding-b6{
  padding-bottom: 6px !important;
}
.padding-r6{
  padding-right: 6px !important;
}
.padding-l0{
  padding-left: 0px !important;
}
.padding-t0{
  padding-top: 0px !important;
}
.padding-b0{
  padding-bottom: 0px !important;
}
.padding-r0{
  padding-right: 0px !important;
}
@media screen and (max-width: 640px) {
  .small-no-padding {
    padding: 0!important;
  }
  .small-padding-10 {
    padding: 10px !important;
  }
  .small-padding-t10 {
    padding-top: 10px !important;
  }
  .small-padding-r10 {
    padding-right: 10px !important;
  }
  .small-padding-b10 {
    padding-bottom: 10px !important;
  }
  .small-padding-l10 {
    padding-left: 10px !important;
  }
  .small-no-margin{
    margin: 0 !important;
  }
}
.clearfix {
}
.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
}
.clearfix:after {
    clear: both
}
.h-underline:hover{
  text-decoration: underline;
}
.close-button {
  position: absolute;
  color: #8a8a8a;
  cursor: pointer; }
  [data-whatinput='mouse'] .close-button {
    outline: 0; }
  .close-button:hover, .close-button:focus {
    color: #0a0a0a; }
  .close-button.small {
    right: 0.66rem;
    top: 0.33em;
    font-size: 1.5em;
    line-height: 1; }
  .close-button, .close-button.medium {
    right: 6px;
    top: 4px;
    font-size: 2em;
    line-height: 1;
    border: none;
    background: none;
    outline: none;
    }
    

.media-object {
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1rem;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}
.media-object-section {
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    &:first-child {
      padding-right: 1rem;
    }
    &:last-child {
      margin-bottom: 0;
    }
}
/*--------------颜色---------------*/
.color-primary {
  color: var(--color-primary) !important;
}
.color-secondary {
  color: var(--color-secondary) !important;
}
.color-danger {
  color: var(--color-danger) !important;
}
.color-warning {
  color: var(--color-warning) !important;
}
.color-success {
  color: var(--color-success) !important;
}
.color-info {
  color: var(--color-info) !important;
}
.bg-primary {
  background-color: var(--color-primary) !important;
  color: #fff;
}
.bg-secondary {
  background-color: var(--color-secondary) !important;
}
.bg-danger {
  color: #fff;
  background-color: var(--color-danger) !important;
}
.bg-warning {
  color: #fff;
  background-color: var(--color-warning) !important;
}
.bg-success {
  color: #fff;
  background-color: var(--color-success) !important;
}
.bg-info {
  color: #fff;
  background-color: var(--color-info) !important;
}
/*字体大小*/
.font-s12{font-size: 12px !important;}
.font-s14{font-size: 14px !important;}
.font-s16{font-size: 1rem !important;}
.circle{border-radius:50%;padding: 12px;}
/*-----------------标签--------------------*/
.label {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 0;
  font-size: 0.625rem;
  line-height: 1;
  white-space: nowrap;
  cursor: default;
  background: var(--color-primary);
  color: #fefefe;
  &.primary{
    background: var(--color-primary);
    color: #fefefe;
  }
  &.success{
    background: var(--color-success);
    color: #fefefe;
  }
  &.secondary{
    background: var(--color-secondary);
    color: #fefefe;
  }
  &.danger{
    background: var(--color-danger);
    color: #fff;
  }
  &.warning{
    background: var(--color-warning);
    color: #fff;
  }
}
/*-----------过滤条件------------*/
.filters {
  background: #fff;
  & .menu li a.active {
    color: var(--color-primary);
  }
  & .menu li a {
    position: relative;
    &:before{
      content: '';
      display: block;
      position: absolute;
      height: 2px;
      width: 0;
      background: var(--color-primary);
      left: 50%;
      bottom: -1px;
      transition: width .3s,left .3s;
    }
    &:hover:before,&.router-link-exact-active:before {
      left: 0;
      width: 100%;
    }
  }
  & .filters_btn{
    text-align: right;
    margin: 6px 10px 0 0;
  }
}
.mod-border {
  border: 1px solid;
  border-color: #e8e8e8 #e8e8e8 #d4d4d5;
}
.border-bottom{
  border-bottom: 1px solid #e8e8e8;
}
.icon-before{
  & li{
    position: relative;
    padding-left: 20px;
    & i{
      position: absolute;
      left: 4px;
      top: 50%;
      margin-top: -6px;
    }
  }
}
/* 设置滚动条的样式 */
.scrollCss::-webkit-scrollbar {
    width: 8px;
}
/* 滚动槽 */
.scrollCss::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
    border-radius: 3px;
}
/* 滚动条滑块 */
.scrollCss::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
}
.scrollCss::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(255,0,0,0.3);
}
/*publishBar*/
pre {
  font-family: monospace;
  font-size: 1em;
  padding: 16px;
  overflow: auto;
  line-height: 1.45;
  background-color: #f6f8fa;
  border-radius: 3px;
}


blockquote {
  display: block;
  padding-left: 20px;
  border-left: 3px solid var(--color-secondary);
  margin-left: 0;
  padding-left: 15px;
  font-style: italic;
  color: #555;
}
.cog.el-button{
  padding: 4px;
}
.flex {
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-flow: row wrap;
  & a {
    display: inline-block;
    -webkit-box-flex: 1;
    flex: 1 1 0px;
  }
}
.white-space3{
  color: var(--color-secondary) !important;
  font-size: 12px !important;
  letter-spacing: .125ex;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 23;
  -webkit-box-orient: vertical;
  text-align: center;
  word-wrap: break-word;
  height: 46px;
}
@media only screen and (min-width: 769px) {
  .hide-for-medium {
    display: none;
  }
}
@media only screen and (min-width: 641px) {
	.hide-for-small {
    display: none;
  }
}
@media only screen and (max-width: 768px) {
  .hide-for-large{
    display: none;
  }
}
.shrink.media-object-section{
   flex: 0 0 auto;
}
.shrink.media-object-section + .media-object-section{
   flex: 1 1 0px;
}
/**/
.des-title{
  letter-spacing: .125ex;
  line-height: 1.33333;
  margin: 60px 0 40px;
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-primary);
}
.des-title:after{
    border-bottom: 2px solid var(--color-secondary);
    content: '';
    display: block;
    left: 0;
    position: absolute;
    top: 50%;
    width: 100%;
}
.des-title span{
  background: #fff;
    display: inline-block;
    padding: 0 3em;
    position: relative;
    z-index: 1;
}
.inner-content{
  padding: 30px;
}
@media only screen and (max-width: 768px) {
	.des-title{
	  margin: 24px 0 1rem;
	}
	h2{
	  font-size: 1rem;
	}
	h3{
	  font-size: 14px;
	}
	h4{
	  font-size: 13px;
	}
}
@media only screen and (max-width: 640px) {
  .des-title{
    margin: 1rem 0 1rem;
  }
	.inner-content{
	  padding: 0;
	}
}
.section-bg {
  background: #f1f1f1;
}
/*List*/
.list-title{
  height: 104px;
  background: color(var(--color-primary) tint(60%));
  background-size: cover;
}
.sub-type{
  padding-top: 46px;
  padding-bottom: 23px;
  color: var(--color-secondary);
  font-size: 18px;
  line-height: 1;
  text-indent: 18px;
}
figure.one-third{
  width: calc(100% / 3);
  margin: 0;
  float: right;
}
.article-content{
  padding-bottom: 60px;
  max-width: 800px;
  margin: 0 auto;
  min-height: calc(100vh - 253px);
  background: var(--panel-color);
  border-left: 1px solid #f1f1f1;
  & p {
    font-size: 14px;
    line-height: 2;
    color: #494949;
  }
  & header{
    padding:2rem 2rem 1rem;
    & .bookmark{
      color: color(var(--color-warning) shade(40%));
    }
    & .source {
      float: right;
      font-size: 12px;
      color: var(--color-secondary);
    }
    & .h-bottom{
      & a{
        margin-right: 2rem;
      }
      & span{
        margin-right: 2rem;
        color: var(--color-secondary);
      }
    }
  }
  & .article-section{
    padding: 1rem 2rem;
  }
  & .article-footer {
    & > span{
      display: block;
      font-size: 12px;
      text-align: center;
      padding: 2rem;
    }
    & .user {
      width: 560px;
      margin: 0 auto;
      padding: 1rem;
      background: #f4f4f4;
      border-radius: 4px;
      position: relative;
      & .content{
        margin-bottom: 0;
        & .arInfo span{
          color: var(--color-secondary);
        }
      }
      & .follow{
        position: absolute;
        right: 1rem;
        top: 50%;
        margin-top: -14px;
      }
    }
  }
  & .ar-tags{
    padding: 3rem 2rem 0;
    & > span {
      margin-right: 10px;
    }
  }
}
.header-bg {
  & img {
    width: 100%;
  }
} 
.inner{
  padding: 0 2rem;
  & .column{
    margin-bottom: 1rem;
  }
} 
.honor {
  & .desc{
    text-align: center;
    padding: 10px 0;
    & a{
      color: var(--color-secondary);
      &:hover{
        color: var(--color-primary);
      }
    }
  }
}
@media only screen and (max-width: 768px) {
  .article-content{
    border: none;
    padding-bottom: 0;
    min-height: calc(100vh - 200px);
    & header{
      padding: 1rem 0;
    }
    & .article-section{
      padding: 1rem 0;
    }
  }
  .list-title{
    height: 78px;
  }
  .inner {
    padding: 0;
  }
}